package com.smsclient.exception;

public class BusinessException extends Exception {
    Integer code;

    public Integer getCode() {
        return this.code;
    }

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException( Integer code,String message) {
        super(message);
        this.code = code;
    }

    public BusinessException(Integer code , String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }

    public BusinessException( Integer code,Throwable cause) {
        super(cause);
        this.code = code;
    }
}
